Week 2 - Blink Using OS
bsp.c
Go to the documentation of this file.
1 /**************************************************
2  * Texas A&M University
3  * Electronic Systems Engineering Technology
4  * ENTC-489 Embedded Real Time Software Development
5  * Author: mike
6  * File: bsp.c
7  **************************************************/
13 #include <stdint.h>
14 #include <stdbool.h>
15 #include "bsp.h"
16 
17 /**************************************************/
20 /**************************************************/
21 
22 /**************************************************/
26 void init_gpio( void )
27 {
28  ROM_SysCtlPeripheralEnable(LAUNCH_GPIO_PORT);
29  ROM_SysCtlPeripheralEnable(BOOST_GPIO_PORT);
30 
31  GPIOPinTypeGPIOOutput(LAUNCH_GPIO_BASE,LAUNCH_OUTPUT_MASK);
32  GPIOPinTypeGPIOOutput(BOOST_GPIO_BASE,BOOST_OUTPUT_MASK);
33 } /* init_gpio () */
34 
35 /**************************************************/
37 /* Close of Doxygen group BSP
38  **************************************************/
void init_gpio(void)
Definition: bsp.c:26